package cc.linker.steplink.crm.merchant.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

@Getter
@Setter
public class FormTagPo {

    /**
     *   `ID` int(11) NOT NULL COMMENT '主键',
     *   `LABEL_ID` text COMMENT '标签ID，多个用英文逗号隔开',
     *   `FORM_ID` varchar(36) NOT NULL COMMENT '表单ID',
     *   `ATTR_ID` varchar(36) DEFAULT '' COMMENT '题目ID',
     *   `ATTR_TITLE` varchar(60) DEFAULT NULL COMMENT '题目标题',
     *   `ATTRITEMIDS` varchar(255) DEFAULT '' COMMENT '条件ID，多个用英文逗号隔开',
     *   `ATTRITEMS` text COMMENT '条件ID和值的数组\r\n[{"id":1,"value":"a"},{"id":2,"value":"b"}]',
     *   `CREATE_TIME` datetime DEFAULT NULL COMMENT '创建时间'
     */
    private long id;//主键

    private String labelId;//标签ID，多个用英文逗号隔开

    private String labelName;//标签名称

    private String formId;//表单ID

    private String attrId;//题目ID

    private String attrTitle;//题目标题

    private String attritemids;//条件ID，多个用英文逗号隔开

    private String attritems;//条件ID和值的数组

    @DateTimeFormat(pattern = "yyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createTime;//创建时间

    private String orgId;//机构ID

    private String customerId;

}
